home *** CD-ROM | disk | FTP | other *** search
- Path: satisfy.kiae.su!rich!usenet
- From: Andrew Sapozhnikov <sapa@hq.icb.chel.su>
- Newsgroups: comp.lang.c,comp.lang.c++,relcom.fido.su.c-c++
- Subject: Strange limits of compatibility in Watcom C/C++ 10.0a
- Date: Wed, 03 Apr 1996 10:38:24 +0000
- Organization: Chelyabinsk PTT NIC
- Message-ID: <31625520.1CFBAE39@hq.icb.chel.su>
- NNTP-Posting-Host: localhost
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (X11; I; BSD/386 1.1 i386)
-
- Hello everyone,
-
- can anybody help me and answer, what reason for estimation this
- situations as errors. For example, Borland, Zortech, Microsoft and
- Symantec translators "gulp" it silently. Are this incompatibilies
- present in 10.5-10.6 ?
-
- -------------------------- test.cpp ----------------------
- typedef int ( *F ) ( int, int = 0 );
-
- class A {
- A ( ) { }
- ~A ( ) { }
- virtual X ( int x, ... ) { }
- };
-
- -------------------------- test.err ----------------------
- TEST.C(1): Error! E243: (col 37) default arguments are not part of a
- function's
- TEST.C(6): Error! E505: (col 29) virtual member functions cannot have
- "..." sty
-
-
-
- Best regards, Sapa
- sapa@hq.icb.chel.su
-